package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 类名：Wip
 * </p>
 *<p>Description: 在制品model</p>
 * @author chenbin
 * @since 2018-08-13
 */
@TableName("TT_WO_WIP")
public class Wip extends Model<Wip> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 订单ID
     */
    @TableField("MANUFACTURE_ID")
    private String manufactureId;
    /**
     * 订单编码
     */
    @TableField("MANUFACTURE_CODE")
    private String manufactureCode;
    /**
     * 工单ID
     */
    @TableField("ORDER_ID")
    private String orderId;
    /**
     * 在制品编码
     */
    @TableField("LOT_NO")
    private String lotNo;
    /**
     * 在制品产品ID
     */
    @TableField("PRODUCT_ID")
    private String productId;
    /**
     * 在制品单位
     */
    @TableField("UNIT")
    private String unit;
    /**
     * 产线ID
     */
    @TableField("LINE_ID")
    private String lineId;
    /**
     * 工序ID
     */
    @TableField("OP_ID")
    private String opId;
    /**
     * 后道工序ID
     */
    @TableField("NEXT_OP_ID")
    private String nextOpId;
    /**
     * 操作人工号
     */
    @TableField("OPERATOR")
    private String operator;
    /**
     * 设备ID
     */
    @TableField("EQUIP_ID")
    private String equipId;
    /**
     * 开始生产时间
     */
    @TableField("BEGIN_TIME")
    private Date beginTime;
    /**
     * 结束生产时间
     */
    @TableField("FINISH_TIME")
    private Date finishTime;
    /**
     * 完成数量
     */
    @TableField("FINISH_QTY")
    private Double finishQty;
    /**
     * 报废数量
     */
    @TableField("SCRAP_QTY")
    private Double scrapQty;
    /**
     * 良品数量
     */
    @TableField("GOOD_QTY")
    private Double goodQty;
    /**
     * 在制品标识，用来标识单面涂布机的产物
     */
    @TableField("WIP_TAG")
    private String wipTag;
    /**
     * 在制品状态
     */
    @TableField("WIP_STATUS")
    private String wipStatus;
    /**
     * 删除标识
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 更新人
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;
    /**
     * 浆料用
     */
    @TableField("POT_CODE")
    private String potCode;
    /**
     * 质检结果
     */
    @TableField("PQC_RESULT")
    private String pqcResult;
    /**
     * 在制品采集参数结果
     */
    @TableField("WIP_RESULT")
    private String wipResult;
    /**
     * 返工次数
     */
    @TableField("REWORK_COUNT")
    private Integer reworkCount;
    /**
     * 质检人
     */
    @TableField("PQC_USER")
    private String pqcUser;
    /**
     * 质检时间
     */
    @TableField("PQC_DATE")
    private Date pqcDate;
    /**
     * 浆料批次
     */
    @TableField("SLURRY_CODE")
    private String slurryCode;
    /**
     * 入库标识
     */
    @TableField("INSTORE_TAG")
    private String instoreTag;
    /**
     * 操作人所在班组
     */
    @TableField("SHIFT_ID")
    private String shiftId;
    /**
     * 托盘编码
     */
    @TableField("TRAY_CODE")
    private String trayCode;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getManufactureId() {
        return manufactureId;
    }

    public void setManufactureId(String manufactureId) {
        this.manufactureId = manufactureId;
    }

    public String getManufactureCode() {
        return manufactureCode;
    }

    public void setManufactureCode(String manufactureCode) {
        this.manufactureCode = manufactureCode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public String getOpId() {
        return opId;
    }

    public void setOpId(String opId) {
        this.opId = opId;
    }

    public String getNextOpId() {
        return nextOpId;
    }

    public void setNextOpId(String nextOpId) {
        this.nextOpId = nextOpId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getEquipId() {
        return equipId;
    }

    public void setEquipId(String equipId) {
        this.equipId = equipId;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Double getFinishQty() {
        return finishQty;
    }

    public void setFinishQty(Double finishQty) {
        this.finishQty = finishQty;
    }

    public Double getScrapQty() {
        return scrapQty;
    }

    public void setScrapQty(Double scrapQty) {
        this.scrapQty = scrapQty;
    }

    public Double getGoodQty() {
        return goodQty;
    }

    public void setGoodQty(Double goodQty) {
        this.goodQty = goodQty;
    }

    public String getWipTag() {
        return wipTag;
    }

    public void setWipTag(String wipTag) {
        this.wipTag = wipTag;
    }

    public String getWipStatus() {
        return wipStatus;
    }

    public void setWipStatus(String wipStatus) {
        this.wipStatus = wipStatus;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPotCode() {
        return potCode;
    }

    public void setPotCode(String potCode) {
        this.potCode = potCode;
    }

    public String getPqcResult() {
        return pqcResult;
    }

    public void setPqcResult(String pqcResult) {
        this.pqcResult = pqcResult;
    }

    public String getWipResult() {
        return wipResult;
    }

    public void setWipResult(String wipResult) {
        this.wipResult = wipResult;
    }

    public Integer getReworkCount() {
        return reworkCount;
    }

    public void setReworkCount(Integer reworkCount) {
        this.reworkCount = reworkCount;
    }

    public String getPqcUser() {
        return pqcUser;
    }

    public void setPqcUser(String pqcUser) {
        this.pqcUser = pqcUser;
    }

    public Date getPqcDate() {
        return pqcDate;
    }

    public void setPqcDate(Date pqcDate) {
        this.pqcDate = pqcDate;
    }

    public String getSlurryCode() {
        return slurryCode;
    }

    public void setSlurryCode(String slurryCode) {
        this.slurryCode = slurryCode;
    }

    public String getInstoreTag() {
        return instoreTag;
    }

    public void setInstoreTag(String instoreTag) {
        this.instoreTag = instoreTag;
    }

    public String getShiftId() {
        return shiftId;
    }

    public void setShiftId(String shiftId) {
        this.shiftId = shiftId;
    }

    public String getTrayCode() {
        return trayCode;
    }

    public void setTrayCode(String trayCode) {
        this.trayCode = trayCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "Wip{" +
        ", pkId=" + pkId +
        ", manufactureId=" + manufactureId +
        ", manufactureCode=" + manufactureCode +
        ", orderId=" + orderId +
        ", lotNo=" + lotNo +
        ", productId=" + productId +
        ", unit=" + unit +
        ", lineId=" + lineId +
        ", opId=" + opId +
        ", nextOpId=" + nextOpId +
        ", operator=" + operator +
        ", equipId=" + equipId +
        ", beginTime=" + beginTime +
        ", finishTime=" + finishTime +
        ", finishQty=" + finishQty +
        ", scrapQty=" + scrapQty +
        ", goodQty=" + goodQty +
        ", wipTag=" + wipTag +
        ", wipStatus=" + wipStatus +
        ", delFlag=" + delFlag +
        ", createDate=" + createDate +
        ", createUser=" + createUser +
        ", updateDate=" + updateDate +
        ", updateUser=" + updateUser +
        ", remark=" + remark +
        ", potCode=" + potCode +
        ", pqcResult=" + pqcResult +
        ", wipResult=" + wipResult +
        ", reworkCount=" + reworkCount +
        ", pqcUser=" + pqcUser +
        ", pqcDate=" + pqcDate +
        ", slurryCode=" + slurryCode +
        ", instoreTag=" + instoreTag +
        ", shiftId=" + shiftId +
        ", trayCode=" + trayCode +
        "}";
    }
}
